export type optionType = {
  text: string;
  value: string;
};
export type QuestionRadioType = {
  title?: string;
  options?: optionType[];
  isvertical?: boolean;
  defaultselected?: string | null;

  disabled?: boolean;
  onchange?: (newProps: QuestionRadioType) => void;
};

export type QuestionRadioStatType = {
  name: string;
  count: number;
};

export const QuestionRadioDefaultValue: QuestionRadioType = {
  title: "单选标题",
  options: [
    { text: "选项1", value: "选项1" },
    { text: "选项2", value: "选项2" },
    { text: "选项3", value: "选项3" },
  ],
  isvertical: false,
  defaultselected: null,
};
